<?php

/**
 * WidgetFormGender represents a gender choice widget
 * 
 * @author Maximilian Lenkeit <dev@lenki.com>
 *
 */
class WidgetFormGender extends sfWidgetFormChoice
{

  /**
   * Constructor
   * 
   * @param array $options     An array of options
   * @param array $attributes  An array of default HTML attributes
   * 
   * @see sfWidgetFormChoice
   * @author Maximilian Lenkeit <dev@lenki.com>
   */
  public function __construct ($options = array(), $attributes = array())
  {
    $options['choices'] = array('male' => 'männlich', 'female' => 'weiblich');
    $options['multiple'] = false;
    parent::__construct($options, $attributes);
  }
}

?>